body {
	margin: 0;
	padding: 0;
	background-color: #EAECEE;
	font-family: Verdana, sans-serif;
	font-size: 10px;
}

#header {
	height: 120px;
	border-bottom: 3px solid #c0c0c0;
	background: #204080;
	text-align: center;
	color: #f0f0f0;
	margin: 0;
	padding: 0;
}

#header h1 {
	padding-top: 24px;
	font-size: 250%;
}

#header a {
	color: #f0f0f0;
}

#page {
	background: #ffffff;
	margin-left: auto;
	margin-right: auto;
	border-right: solid 2px #a0a0a0;
	border-bottom: solid 2px #a0a0a0;
}

#sidebar {
	float: left;
	width: 200px;
	min-height: 240px;
	padding: 4px;
}

#sidebar h1 {
	display: block;
	font-size: 120%;
	border-bottom: 1px solid #d0d0d0;
}

#container {
	padding: 8px;
	height: 800px;
}

#content {
	float: left;
	min-height: 500px;
	font-size: 100%;
	padding-left: 20px;
	min-width: 700px;
}

#footer {
	text-align: center;
	padding: 8px;
	margin: 8px;
	border-top: 1px solid #c0c0c0;
	clear: both;
}

.panel {
	border: 1px solid #d0d0d0;
	padding: 8px;
	margin: 8px 4px 16px 4px;
	background: #fafafa;
}

.panel h1 {
	font-size: 120%;
	display: block;
	background: #f0f0f0;
	padding: 6px;
	margin: -8px;
	border-bottom: 1px solid #d0d0d0;
	margin-bottom: 8px;
}

.odd {
	background: #f0f0f0;
}

.even {
	background: #ffffff;
}

.dataTable {
	border-collapse: collapse;;
	width: 100%;
}

.dataTable th {
	background: #204080;
	color: #f0f0f0;
	padding: 6px;
	border: 1px solid #f0f0f0;
}

.dataTable td {
	border: 1px solid #d0d0d0;
	padding: 4px;
}

.caption {
	float: left;
	width: 100px;
}

.formCaption {
	float: left;
	width: 100px;
	padding-top: 4px;
}

.value {
	margin-right: 8px;
}

.errorMessage {
	color: #ff0000;
	font-weight: bold;
}

.property {
	margin-bottom: 12px;
}

.even {
	background-color: #C6DEFF;
}

.odd {
	background-color: white;
}

.separator {
	width: 100%;
	float: left;
}

#supplier_information, #header_information {
	padding-top: 10px;
	margin-top: 10px;
	margin-bottom:10px;
	position: absolute;
	width: 350px;
}

#buyer_information {
	width: 350px;
	position:absolute;
	margin-left: 360px;
	margin-top: 10px;
	margin-bottom: 10px;
	padding-top: 10px;
	
}

#invoiceContent, #purchasingContent {
	width: 800px;
}

#invoiceForm, #purchasingForm {
	padding-top: 10px;
	font-size: 12px;
	font-family: monospace !important;
}

#invoiceForm th span, #purchasingForm th span {
	font-family: monospace !important;
}

#invoiceForm div, #purchasingForm div {
	font-size: 12px;
	font-family: monospace !important;
}

#invoiceHeader, #purchasingHeader {
	width: 100%;
	border-bottom: solid;
	border-bottom-width: thin;
	height: 50px;
}

#invoiceHeader .leftInfo, #purchasingHeader .leftInfo {
	float: left;
}

#invoiceHeader .rightInfo, #purchasingHeader .rightInfo {
	float: right;
	/* padding-top: 12px; */
}

#invoiceItemTable, #purchasingItemTable {
	float: left;
	font-family: Arial;
	font-size: 1.1em;
}

#invoiceItemTable table, #purchasingItemTable table {
	/* height: 450px; */
	font-family: Arial;
	font-size: 1.1em;
}

#invoiceItemTable tfoot td, #purchasingItemTable tfoot td {
	text-align: right;
}

#invoiceFooter, #purchasingFooter {
	width: 100%;
	border-top: solid;
	border-top-width: thin;
	float: left;
	margin-top: 10px;
}

.inv-table {
	width: 100%;
	font-family: Arial;
	font-size: 1.1em;
}

.inv-table tfoot {
	text-align: right;
}

@media print {
	table {
		margin: 0;
		padding: 0;
		background: none;
		color: black;
		font-family: monospace;
		font-size: 1.2em;
	}
	
	thead, tbody, tfoot {
		background: none;
		color: black;
		font-family: monospace;
		font-size: 1.2em;
	}
	
	#invoiceHeader {
		background: none;
		color: black;
		font-family: monospace;
		font-size: 1.2em;
	}
}